
<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>
    	<sitemesh:write property='title' /> 爱词
    </title>
    <link rel="stylesheet" href="css/reset.css" />
	<link rel="stylesheet" href="css/layout.css" />
	<link rel="stylesheet" href="css/box.css" />
	<link rel="stylesheet" href="css/style.css" />
	<base target="_top" />
    <sitemesh:write property='head'/>
</head>
<body>
<div style="height: 7px;width:auto;margin-bottom:4px;"></div>
	<div id="header">
		<div class="layout grid-m">
			<div class="col-main">
				<ul class="top_nav">
					<li class="icon phone"><a href="http://r.5iwords.com/version/5iwords.apk">手机</a></li>
					<li class="icon home"><a href="sysLib?action=list">我要背单词</a></li>
				</ul>
				<ul class="top_access">
				<c:if test="${empty user}">
					<li class="login_access"><a href="login.jsp">登录</a></li>
					<li class="register_access"><a href="register.jsp">注册</a></li>
                                        <li class="exit"><a href="help.jsp">帮助</a></li>
					</c:if>
					<c:if test="${!empty user}">
					<li class="username">欢迎您，<span>${user.nickname}</span></li>
					<li class="userinfor"><a href="user?action=account">基本信息</a></li>
					<li class="exit"><a href="user?action=logout">退出</a></li>
                                         <li class="exit"><a href="help.jsp">帮助</a></li>
					</c:if>
				</ul>
			</div>
		</div>
		<div class="layout grid-m">
			<div class="col-main">
				<a class="site_logo" href="index">爱词,让你爱上单词</a>
			</div>
		</div>
		
	</div>
	<sitemesh:write property='body'/>
</body>
</html>